import br.com.nooclix.salon.ui.screen.customer.CustomerWindow;

public function creation():void{
	
	this.titleLabel.text = "Opções de Cliente";
	
	newCustomer.imageIcon.source = "br/com/nooclix/salon/ui/icons/menubutton/customer-add.png";
	newCustomer.labelName.text = "Novo";
	newCustomer.onClick(function ():void{
		var customerWindow:CustomerWindow = new CustomerWindow();
		customerWindow.openPanel();
		customerWindow.currentState = "create";
	});
	
	
	findCustomer.imageIcon.source = "br/com/nooclix/salon/ui/icons/menubutton/customer-search.png";
	findCustomer.labelName.text = "Buscar";
	findCustomer.onClick(function ():void{
		var customerWindow:CustomerWindow = new CustomerWindow();
		customerWindow.openPanel();
		customerWindow.currentState = "search";
	});

	
}